home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / zsh / Source / help / bindkey < prev    next >
Encoding:
Text File  |  1993-10-08  |  27.7 KB  |  715 lines

  1.        bindkey -mevd
  2.        bindkey -r in-string ...
  3.        bindkey [ -a ] in-string [ command ] ...
  4.        bindkey -s [ -a ] in-string out-string ...
  5.               The -e and -v options put the keymaps in emacs mode
  6.               or vi mode respectively; they cannot be used simul-
  7.               taneously. The -d option resets all bindings to the
  8.               compiled-in  settings.  If not used with options -e
  9.               or -v, the maps will be left in emacs mode,  or  in
  10.               vi mode if the VISUAL or EDITOR variables exist and
  11.               contain the string "vi".  Metafied  characters  are
  12.               bound  to  self-insert  by  default.  The -m option
  13.               loads the compiled-in bindings of these  characters
  14.               for  the  mode determined by the preceding options,
  15.               or the current mode if  used  alone.  Any  previous
  16.               bindings done by the user will be preserved. If the
  17.               -r option is given, remove any binding for each in-
  18.               string.  If  the  -s  option is not specified, bind
  19.               each in-string to a specified command. If  no  com-
  20.               mand  is  specified, print the binding of in-string
  21.               if it is bound, or return a nonzero exit code if it
  22.               is  not  bound. If the -s option is specified, bind
  23.               each in-string to each specified  out-string.  When
  24.               in-string  is typed, out-string will be pushed back
  25.               and treated as input to the line editor. This  pro-
  26.               cess is recursive but, to avoid infinite loops, the
  27.               shell will report an error if more than 20 consecu-
  28.               tive replacements happen. If the -a option is spec-
  29.               ified,  bind  the  in-strings  in  the  alternative
  30.               keymap  instead  of the standard one.  The alterna-
  31.               tive keymap is used in vi command mode.
  32.  
  33.               It's possible for an in-string to be bound to some-
  34.               thing  and  also be the beginning of a longer bound
  35.               string. In this case the shell will wait a  certain
  36.               time to see if more characters are typed and if not
  37.               it  will  execute  the  binding.  This  timeout  is
  38.               defined by the KEYTIMEOUT parameter; its default is
  39.               0.4 sec. No timeout is done if the prefix string is
  40.               not bound.
  41.  
  42.               For either in-string or out-string, control charac-
  43.               ters may be specified in the form ^X, and the back-
  44.               slash may be used to introduce one of the following
  45.               escape sequences:
  46.                       \a     bell character
  47.                       \n     linefeed (newline)
  48.                       \b     backspace
  49.                       \t     horizontal tab
  50.                       \v     vertical tab
  51.                       \f     form feed
  52.                       \r     carriage return
  53.                       \e, \E escape
  54.                       \nnn   character code in octal
  55.                       \M-xxx character or  escape  sequence  with
  56.                              meta  bit set. The `-' after the `M'
  57.                              is optional.
  58.                       \C-X   control character.   The  `-'  after
  59.                              the `C' is optional.
  60.  
  61.               In all other cases, \ escapes the following charac-
  62.               ter.  Delete is written as `^?'. Note  that  `\M^?'
  63.               and `^\M?' are not the same.
  64.  
  65.               Multi-character  in-strings cannot contain the null
  66.               character ("^@" or "^ "). If they appear in a bind-
  67.               key  command,  they  will be silently translated to
  68.               "\M-^@". This restriction does not  apply  to  out-
  69.               strings,  single-character in-strings and the first
  70.               character of a multi-char in-string.
  71.  
  72.    Movement
  73.        vi-backward-blank-word (unbound) (B)
  74.               Move backward one word, where a word is defined  as
  75.               a series of non-blank characters.
  76.  
  77.        backward-char (^B ESC-[D) ()
  78.               Move backward one character.
  79.  
  80.        vi-backward-char () (h)
  81.               Move   backward  one  character,  without  changing
  82.               lines.
  83.  
  84.        backward-word (ESC-B ESC-b) (unbound)
  85.               Move to the beginning of the previous word.
  86.  
  87.        emacs-backward-word
  88.               Move to the beginning of the previous word.
  89.  
  90.        vi-backward-word (unbound) (b)
  91.               Move to the beginning of  the  previous  word,  vi-
  92.               style.
  93.  
  94.        beginning-of-line (^A) (0)
  95.               Move  to  the beginning of the line.  If already at
  96.               the beginning of the line, move to the beginning of
  97.               the previous line, if any.
  98.  
  99.        vi-beginning-of-line
  100.               Move to the beginning of the line, without changing
  101.               lines.
  102.  
  103.        end-of-line (^E)
  104.               Move to the end of the line.  If already at the end
  105.               of  the  line, move to the end of the next line, if
  106.               any.
  107.  
  108.        vi-end-of-line (unbound) ($)
  109.               Move to the end of the line.
  110.  
  111.        vi-forward-blank-word (unbound) (W)
  112.               Move forward one word, where a word is defined as a
  113.               series of non-blank characters.
  114.  
  115.        vi-forward-blank-word-end (unbound) (E)
  116.               Move  to the end of the current word, or, if at the
  117.               end of the current word, to the  end  of  the  next
  118.               word,  where  a word is defined as a series of non-
  119.               blank characters.
  120.  
  121.        forward-char (^F ESC-[C)
  122.               Move forward one character.
  123.  
  124.        vi-forward-char (unbound) (space l)
  125.               Move forward one character.
  126.  
  127.        vi-find-next-char (^X^F) (f)
  128.               Read a character from the keyboard, and move to the
  129.               next occurrence of it in the line.
  130.  
  131.        vi-find-next-char-skip (unbound) (t)
  132.               Read a character from the keyboard, and move to the
  133.               position just before the next occurrence of  it  in
  134.               the line.
  135.  
  136.        vi-find-prev-char (unbound) (F)
  137.               Read a character from the keyboard, and move to the
  138.               previous occurrence of it in the line.
  139.  
  140.        vi-find-prev-char-skip (unbound) (T)
  141.               Read a character from the keyboard, and move to the
  142.               position  just  after the previous occurrence of it
  143.               in the line.
  144.  
  145.        vi-first-non-blank (unbound) (^)
  146.               Move to the first non-blank character in the  line.
  147.  
  148.        vi-forward-word (unbound) (w)
  149.               Move forward one word, vi-style.
  150.  
  151.        forward-word (ESC-F ESC-f) (unbound)
  152.               Move  to  the  beginning  of  the  next  word.  The
  153.               editor's idea of a word is specified with the WORD-
  154.               CHARS parameter.
  155.  
  156.        emacs-forward-word
  157.               Move to the end of the next word.
  158.  
  159.        vi-forward-word-end (unbound) (e)
  160.               Move to the end of the next word.
  161.  
  162.        vi-goto-column (ESC-|) (|)
  163.               Move  to  the column specified by the numeric argu-
  164.               ment.
  165.  
  166.        vi-goto-mark (unbound) (`)
  167.               Move to the specified mark.
  168.  
  169.        vi-goto-mark-line (unbound) (')
  170.               Move to beginning of the line containing the speci-
  171.               fied mark.
  172.  
  173.        vi-repeat-find (unbound) (;)
  174.               Repeat the last vi-find command.
  175.  
  176.        vi-rev-repeat-find (unbound) (,)
  177.               Repeat  the  last  vi-find  command in the opposite
  178.               direction.
  179.  
  180.    History
  181.        beginning-of-buffer-or-history (ESC-<)
  182.               Move to the beginning of the buffer, or if  already
  183.               there, move to the first event in the history list.
  184.  
  185.        beginning-of-line-hist
  186.               Move to the beginning of the line.  If  already  at
  187.               the  beginning  of the buffer, move to the previous
  188.               history line.
  189.  
  190.        beginning-of-history
  191.               Move to the first event in the history list.
  192.  
  193.        down-line-or-history (^N ESC-[B) (+ j)
  194.               Move down a line in the buffer, or  if  already  at
  195.               the bottom line, move to the next event in the his-
  196.               tory list.
  197.  
  198.        down-line-or-search
  199.               Move down a line in the buffer, or  if  already  at
  200.               the  bottom line, search forward in the history for
  201.               a line beginning with the first word in the buffer.
  202.  
  203.        down-history (unbound) (^N)
  204.               Move to the next event in the history list.
  205.  
  206.        history-beginning-search-backward (unbound)
  207.               Search backward in the history for a line beginning
  208.               with the current  line  up  to  the  cursor.   This
  209.               leaves the cursor in its original position.
  210.  
  211.        end-of-buffer-or-history (ESC->)
  212.               Move to the end of the buffer, or if already there,
  213.               move to the last event in the history list.
  214.  
  215.        end-of-line-hist
  216.               Move to the end of the line.  If already at the end
  217.               of the buffer, move to the next history line.
  218.  
  219.        end-of-history
  220.               Move to the last event in the history list.
  221.  
  222.        vi-fetch-history (unbound) (G)
  223.               Fetch  the  history  line  specified by the numeric
  224.               argument.
  225.  
  226.        history-incremental-search-backward (^R ^Xr)
  227.               Search  backward  incrementally  for  a   specified
  228.               string.   The  string  may begin with `^' to anchor
  229.               the  search  to  the  beginning  of  the  line.   A
  230.               restricted set of editing functions is available in
  231.               the mini-buffer. An interrupt signal, as defined by
  232.               the stty setting,  will stop the search and go back
  233.               to the original line. An undefined  key  will  have
  234.               the same effect. The supported functions are: back-
  235.               ward-delete-char,  quoted-insert,  accept-and-hold,
  236.               accept-and-infer-next-history,    accept-line   and
  237.               accept-line-and-down-history;   magic-space    just
  238.               inserts  a  space.  Any  string that is bound to an
  239.               out-string (via bindkey -s) will behave as if  out-
  240.               string  were typed directly.  Typing the binding of
  241.               history-incremental-search-backward  will  get  the
  242.               next occurrence of the contents of the mini-buffer.
  243.               Typing the binding  of  history-incremental-search-
  244.               forward inverts the sense of the search. The direc-
  245.               tion of the search is indicated in the mini-buffer.
  246.               Any multi-character string that is not bound to one
  247.               of the above functions will beep and interrupt  the
  248.               search,  leaving the last found line in the buffer.
  249.               Any single character that is not bound  to  one  of
  250.               the above functions, or self-insert or self-insert-
  251.               unmeta, will have the same effect but the  function
  252.               will be executed.
  253.  
  254.        history-incremental-search-forward (^Xs)
  255.               Search   forward   incrementally  for  a  specified
  256.               string.  The string may begin with  `^'  to  anchor
  257.               the  search to the beginning of the line. The func-
  258.               tions available in the mini-buffer are the same  as
  259.               for history-incremental-search-backward.
  260.  
  261.        history-search-backward (ESC-P ESC-p) (K)
  262.               Search backward in the history for a line beginning
  263.               with the first word in the buffer.
  264.  
  265.        vi-history-search-backward (unbound) (/)
  266.               Search backward in  the  history  for  a  specified
  267.               string.   The  string  may begin with `^' to anchor
  268.               the  search  to  the  beginning  of  the  line.   A
  269.               restricted set of editing functions is available in
  270.               the mini-buffer. An interrupt signal, as defined by
  271.               the  stty setting,  will stop the search, as will a
  272.               character  bound  to  vi-cmd-mode.  The   functions
  273.               available  in  the  mini-buffer  are:  accept-line,
  274.               backward-delete-char,  vi-backward-delete-char  and
  275.               quoted-insert.  Any string that is bound to an out-
  276.               string (via bindkey -s)  will  behave  as  if  out-
  277.               string  were  typed  directly.  Any other character
  278.               that is not bound to  self-insert  or  self-insert-
  279.               unmeta will beep and be ignored. If the function is
  280.               called from vi command mode,  the  bindings  of  vi
  281.               insert mode will be used.
  282.  
  283.        history-search-forward (ESC-N ESC-n) (J)
  284.               Search  forward in the history for a line beginning
  285.               with the first word in the buffer.
  286.  
  287.        vi-history-search-forward (unbound) (?)
  288.               Search forward  in  the  history  for  a  specified
  289.               string.   The  string  may begin with `^' to anchor
  290.               the search to the beginning of the line. The  func-
  291.               tions  available in the mini-buffer are the same as
  292.               for vi-history-search-backward.
  293.  
  294.        infer-next-history (^X^N)
  295.               Search in the history list for a line matching  the
  296.               current one and fetch the event following it.
  297.  
  298.        insert-last-word (ESC-_ ESC-.)
  299.               Insert  the  last  word  from  the previous history
  300.               event at the cursor position.
  301.  
  302.        vi-repeat-search (unbound) (n)
  303.               Repeat the last vi history search.
  304.  
  305.        vi-rev-repeat-search (unbound) (N)
  306.               Repeat the last vi history search, but in  reverse.
  307.  
  308.        toggle-literal-history (ESC-R ESC-r)
  309.               Toggle  between  literal  and lexical history.  The
  310.               default  is  lexical  history  unless  the  HISTLIT
  311.               option is set.
  312.  
  313.        up-line-or-history (^P ESC-[A) (- k)
  314.               Move  up a line in the buffer, or if already at the
  315.               top line, move to the previous event in the history
  316.               list.
  317.  
  318.        up-line-or-search
  319.               Move  up a line in the buffer, or if already at the
  320.               top line, search backward in the history for a line
  321.               beginning with the first word in the buffer.
  322.  
  323.        up-history (unbound) (^P)
  324.               Move to the previous event in the history list.
  325.  
  326.        history-beginning-search-forward (unbound)
  327.               Search  forward in the history for a line beginning
  328.               with the current  line  up  to  the  cursor.   This
  329.               leaves the cursor in its original position.
  330.  
  331.    Modifying Text
  332.        vi-add-eol (unbound) (A)
  333.               Move  to the end of the line and enter insert mode.
  334.  
  335.        vi-add-next (unbound) (a)
  336.               Move forward one character and enter insert mode.
  337.  
  338.        backward-delete-char (^H ^?) (^?)
  339.               Delete the character behind the cursor.
  340.  
  341.        vi-backward-delete-char (unbound) (X)
  342.               Delete the character  behind  the  cursor,  without
  343.               changing lines.
  344.  
  345.        backward-delete-word
  346.               Delete the word behind the cursor.
  347.  
  348.        backward-kill-line
  349.               Kill  from  the beginning of the line to the cursor
  350.               position.
  351.  
  352.        backward-kill-word (^W ESC-^H ESC-^?)
  353.               Kill the word behind the cursor.
  354.  
  355.        vi-backward-kill-word (unbound) (^W)
  356.               Kill the word behind the cursor.
  357.  
  358.        capitalize-word (ESC-C ESC-c)
  359.               Capitalize the current word and move past it.
  360.  
  361.        vi-change (unbound) (c)
  362.               Read a movement command from the keyboard, and kill
  363.               from  the  cursor  position  to the endpoint of the
  364.               movement.  Then enter insert mode.  If the  command
  365.               is vi-change, kill the current line.
  366.  
  367.        vi-change-eol (unbound) (C)
  368.               Kill  to the end of the line and enter insert mode.
  369.  
  370.        vi-change-whole-line (unbound) (S s)
  371.               Kill the current line and enter insert mode.
  372.  
  373.        copy-region-as-kill (ESC-W ESC-w)
  374.               Copy the area from the cursor to the  mark  to  the
  375.               kill buffer.
  376.  
  377.        copy-prev-word (ESC-^_)
  378.               Duplicate the word behind the cursor.
  379.  
  380.        vi-delete (unbound) (d)
  381.               Read a movement command from the keyboard, and kill
  382.               from the cursor position to  the  endpoint  of  the
  383.               movement.   If  the  command is vi-delete, kill the
  384.               current line.
  385.  
  386.        delete-char (unbound) (x)
  387.               Delete the character under the cursor.
  388.  
  389.        vi-delete-char (unbound) (x)
  390.               Delete the character under the cursor.
  391.  
  392.        delete-word (ESC-D ESC-d)
  393.               Delete the current word.
  394.  
  395.        down-case-word (ESC-L ESC-l)
  396.               Convert the current word to all lowercase and  move
  397.               past it.
  398.  
  399.        kill-word
  400.               Kill the current word.
  401.  
  402.        gosmacs-transpose-chars
  403.               Exchange the two characters behind the cursor.
  404.  
  405.        vi-indent (unbound) (>)
  406.               Indent a number of lines.
  407.  
  408.        vi-insert (unbound) (i)
  409.               Enter insert mode.
  410.  
  411.        vi-insert-bol (unbound) (I)
  412.               Move  to the beginning of the line and enter insert
  413.               mode.
  414.  
  415.        vi-join (^X^J)
  416.               Join the current line with the next one.
  417.  
  418.        kill-line (^K) (D)
  419.               Kill from the cursor to the end of the line.
  420.  
  421.        vi-kill-line
  422.               Kill from the cursor to the beginning of the  line.
  423.  
  424.        kill-region
  425.               Kill from the cursor to the mark.
  426.  
  427.        kill-buffer (^X^K) (^U)
  428.               Kill the entire buffer.
  429.  
  430.        kill-whole-line (^U) (unbound)
  431.               Kill the current line.
  432.  
  433.        vi-match-bracket (^X^B) (%)
  434.               Move  to  the  bracket character (one of {}, (), or
  435.               []) that matches the one under the cursor.
  436.  
  437.        vi-open-line-above (unbound) (O)
  438.               Open a line above the cursor and enter insert mode.
  439.  
  440.        vi-open-line-below (unbound) (o)
  441.               Open a line below the cursor and enter insert mode.
  442.  
  443.        vi-oper-swap-case
  444.               Read a movement command from the keyboard, and swap
  445.               the case of all characters from the cursor position
  446.               to the endpoint of the movement.  If  the  movement
  447.               command  is vi-oper-swap-case, swap the case of all
  448.               characters on the current line.
  449.  
  450.        overwrite-mode (^X^O)
  451.               Toggle between overwrite mode and insert mode.
  452.  
  453.        vi-put-after (unbound) (p)
  454.               Insert the contents of the kill  buffer  after  the
  455.               cursor.
  456.  
  457.        quoted-insert (^V)
  458.               Insert  the  next  character  typed into the buffer
  459.               literally.
  460.  
  461.        quote-line (ESC-')
  462.               Quote the current line; that is, put a '  character
  463.               at  the  beginning  and  the end, and convert all '
  464.               characters to '\''.
  465.  
  466.        quote-region (ESC-")
  467.               Quote the region from the cursor to the mark.
  468.  
  469.        vi-replace (unbound) (R)
  470.               Enter overwrite mode.
  471.  
  472.        vi-repeat-change (unbound) (.)
  473.               Repeat the last vi mode text modification.
  474.  
  475.        vi-replace-chars (unbound) (r)
  476.               Replace the character under the cursor with a char-
  477.               acter read from the keyboard.
  478.  
  479.        self-insert (printable characters)
  480.               Put  a  character in the buffer at the cursor posi-
  481.               tion.
  482.  
  483.        self-insert-unmeta (ESC-^I ESC-^J ESC-^M)
  484.               Put a character in the buffer after  stripping  the
  485.               meta bit and converting ^M to ^J.
  486.  
  487.        vi-substitute (unbound) (s)
  488.               Substitute the next character(s).
  489.  
  490.        vi-swap-case (unbound) (~)
  491.               Swap the case of the character under the cursor and
  492.               move past it.
  493.  
  494.        transpose-chars (^T)
  495.               Exchange the two characters to the left of the cur-
  496.               sor  if at end of line, else exchange the character
  497.               under the cursor with the character to the left.
  498.  
  499.        transpose-words (ESC-T ESC-t)
  500.               Exchange the current word with the one before it.
  501.  
  502.        vi-unindent (unbound) (<)
  503.               Unindent a number of lines.
  504.  
  505.        up-case-word (ESC-U ESC-u)
  506.               Convert the current word to all caps and move  past
  507.               it.
  508.  
  509.        yank (^Y) (P)
  510.               Insert  the contents of the kill buffer at the cur-
  511.               sor position.
  512.  
  513.        yank-pop (ESC-y) (unbound)
  514.               Remove the text just yanked, rotate the  kill-ring,
  515.               and yank the new top.  Only works following yank or
  516.               yank-pop.
  517.  
  518.        vi-yank (unbound) (y)
  519.               Read a movement command from the keyboard, and copy
  520.               the region from the cursor position to the endpoint
  521.               of the movement into the kill buffer.  If the  com-
  522.               mand is vi-yank, copy the current line.
  523.  
  524.        vi-yank-eol (unbound) (Y)
  525.               Copy the region from the cursor position to the end
  526.               of the line into the kill buffer.
  527.  
  528.    Arguments
  529.        digit-argument (ESC-0..ESC-9) (0-9)
  530.               Start a new numeric argument, or add to the current
  531.               one.
  532.  
  533.        neg-argument (ESC-- unbound)
  534.               Changes the sign of the following argument.
  535.  
  536.        universal-argument
  537.               Multiply the argument of the next command by 4.
  538.  
  539.    Completion
  540.        accept-and-menu-complete
  541.               In a menu completion, insert the current completion
  542.               into the buffer, and advance to the  next  possible
  543.               completion.
  544.  
  545.        complete-word (unbound) (\)
  546.               Attempt completion on the current word.
  547.  
  548.        delete-char-or-list (^D)
  549.               Delete the character under the cursor.  If the cur-
  550.               sor is at the end of the line, list  possible  com-
  551.               pletions for the current word.
  552.  
  553.        execute-named-cmd (ESC-x)
  554.               Read the name of a editor command and execute it. A
  555.               restricted set of editing functions is available in
  556.               the mini-buffer. An interrupt signal, as defined by
  557.               the stty setting,  will  abort  the  function.  The
  558.               allowed  functions  are:  backward-delete-char, vi-
  559.               backward-delete-char, kill-region (kills  the  last
  560.               word),  backward-kill-word,  vi-backward-kill-word,
  561.               kill-whole-line,  vi-kill-line,  backward-kill-line
  562.               and  accept-line.  The space and tab characters, if
  563.               not bound to one of these functions, will  complete
  564.               the name and then list the possibilities.
  565.  
  566.        execute-last-named-cmd (ESC-z)
  567.               Redo the last function executed with execute-named-
  568.               cmd.
  569.  
  570.        expand-cmd-path
  571.               Expand the current command to its full pathname.
  572.  
  573.        expand-or-complete (TAB) (TAB ^X)
  574.               Attempt shell expansion on the  current  word.   If
  575.               that fails, attempt completion.
  576.  
  577.        expand-or-complete-prefix (unbound)
  578.               Attempt  shell  expansion  on the current word upto
  579.               cursor.
  580.  
  581.        expand-history (ESC-space ESC-!)
  582.               Perform history expansion on the edit buffer.
  583.  
  584.        expand-word (^X*)
  585.               Attempt shell expansion on the current word.
  586.  
  587.        list-choices (ESC-^D) (^D =)
  588.               List possible completions for the current word.
  589.  
  590.        list-expand (^Xg ^XG) (^G)
  591.               List the expansion of the current word.
  592.  
  593.        magic-space
  594.               Perform history expansion and insert a  space  into
  595.               the buffer.  This is intended to be bound to space.
  596.  
  597.        menu-complete
  598.               Like complete-word, except that menu completion  is
  599.               used.  See the MENU_COMPLETE option below.
  600.  
  601.        menu-expand-or-complete
  602.               Like  expand-or-complete,  except that menu comple-
  603.               tion is used.
  604.  
  605.        reverse-menu-complete
  606.               See the MENU_COMPLETE option below.
  607.  
  608.    Miscellaneous
  609.        accept-and-hold (ESC-A ESC-a)
  610.               Push the contents of the buffer on the buffer stack
  611.               and execute it.
  612.  
  613.        accept-and-infer-next-history
  614.               Execute  the  contents  of the buffer.  Then search
  615.               the history list for a line  matching  the  current
  616.               one  and  push  the event following onto the buffer
  617.               stack.
  618.  
  619.        accept-line (^J ^M)
  620.               Execute the contents of the buffer.
  621.  
  622.        accept-line-and-down-history (^O)
  623.               Execute the current line, and push the next history
  624.               event on the the buffer stack.
  625.  
  626.        vi-cmd-mode (^X^V) (^[)
  627.               Enter  command  mode;  that  is,  use the alternate
  628.               keymap.  Yes, this is bound  by  default  in  emacs
  629.               mode.
  630.  
  631.        vi-caps-lock-panic (unbound) (H K)
  632.               Hang  until  any lowercase key is pressed.  This is
  633.               for vi users without the mental  capacity  to  keep
  634.               track of their caps lock key (like the author).
  635.  
  636.        clear-screen (^L ESC-^L)
  637.               Clear the screen and redraw the prompt.
  638.  
  639.        exchange-point-and-mark (^X^X)
  640.               Exchange  the  cursor position with the position of
  641.               the mark.
  642.  
  643.        get-line (ESC-G ESC-g)
  644.               Pop the top line off the buffer stack and insert it
  645.               at the cursor position.
  646.  
  647.        pound-insert (unbound) (#)
  648.               If  there is no # character at the beginning of the
  649.               current line, add one.  If there is one, remove it.
  650.               In  either  case,  accept  the  current  line.  The
  651.               INTERACTIVE_COMMENTS option must be set for this to
  652.               have any usefulness.
  653.  
  654.        push-input
  655.               Push  the  entire  current multiline construct onto
  656.               the buffer stack and return to the top-level  (PS1)
  657.               prompt.   If the current parser construct is only a
  658.               single line, this is exactly like push-line.   Next
  659.               time  the  editor  starts up or is popped with get-
  660.               line, the construct will be popped off the  top  of
  661.               the  buffer  stack  and  loaded  into  the  editing
  662.               buffer.
  663.  
  664.        push-line (^Q ESC-Q ESC-q)
  665.               Push the current buffer onto the buffer  stack  and
  666.               clear  the buffer.  Next time the editor starts up,
  667.               the buffer will be popped off the top of the buffer
  668.               stack and loaded into the editing buffer.
  669.  
  670.        push-line-or-edit
  671.               At  the top-level (PS1) prompt, equivalent to push-
  672.               line.  At a secondary (PS2) prompt, move the entire
  673.               current multiline construct into the editor buffer.
  674.               The latter is equivalent to push-input followed  by
  675.               get-line.
  676.  
  677.        redisplay (unbound) (^R)
  678.               Redisplays the edit buffer.
  679.  
  680.        send-break (^G)
  681.               Abort  the  current  editor  function, eg. execute-
  682.               named-command, or the editor itself, eg. if you are
  683.               in  vared.  Otherwise abort the parsing of the cur-
  684.               rent line.
  685.  
  686.        run-help (ESC-H ESC-h)
  687.               Push the buffer onto the buffer stack, and  execute
  688.               the  command  "run-help cmd", where cmd is the cur-
  689.               rent command.  run-help is normally aliased to man.
  690.  
  691.        vi-set-buffer (unbound) (")
  692.               Specify  a  buffer to be used in the following com-
  693.               mand.
  694.  
  695.        vi-set-mark (unbound) (m)
  696.               Set the specified mark at the cursor position.
  697.  
  698.        set-mark-command (^@)
  699.               Set the mark at the cursor position.
  700.  
  701.        spell-word (ESC-$ ESC-S ESC-s)
  702.               Attempt spelling correction on the current word.
  703.  
  704.        undefined-key
  705.               Beep.
  706.  
  707.        undo (^_ ^Xu ^X^U) (u)
  708.               Incrementally undo the last text modification.
  709.  
  710.        which-command (ESC-?)
  711.               Push the buffer onto the buffer stack, and  execute
  712.               the  command  "which-command cmd", where cmd is the
  713.               current command.  which-command is normally aliased
  714.               to whence.
  715.